<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,
     user-scalable=no"/>
	<title>九宫格</title>
	<script type="text/javascript" src="task-1.js"></script>


	<style type="text/css">
		
        .test div{
        	        width: 30%;
                   margin: 1%;

           padding-bottom: 30%;

            border-radius: 10%;       
                    float: left;
         background-color: orange;

		 }

		button{
			width: 100%;
			padding: 2.3vh;
			margin-top: 2vh;
			font-size: 2vh;
			/*border: 1.5px solid orange;*/
			/*outline: none;*/



		}


		 </style>
		
</head>
<body>
	<div class="test">
	<div class="box"></div>
    <div class="box"></div>
	<div class="box"></div>
	<div class="box"></div>
	<div class="box"></div>
	<div class="box"></div>
	<div class="box"></div>
	<div class="box"></div>
	<div class="box"></div>
	</div>
</body>


<button  value="setInterval"  onclick="stop() ">开始闪烁</button>

<button    value="setInterval"   onclick="stop2()">结束</button>
</html>